home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / smfdoor / frmexitd.frm (.txt) < prev    next >
Visual Basic Form  |  1999-08-13  |  2KB  |  74 lines

  1. VERSION 5.00
  2. Begin VB.Form frmExitDoorWay 
  3.    BackColor       =   &H80000012&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Exit DoorWays?"
  6.    ClientHeight    =   1050
  7.    ClientLeft      =   5985
  8.    ClientTop       =   2310
  9.    ClientWidth     =   4410
  10.    Icon            =   "frmExitDoorWay.frx":0000
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   1050
  15.    ScaleWidth      =   4410
  16.    Begin VB.CommandButton cmdNo 
  17.       Caption         =   "No"
  18.       Height          =   375
  19.       Left            =   2400
  20.       TabIndex        =   1
  21.       Top             =   600
  22.       Width           =   1215
  23.    End
  24.    Begin VB.CommandButton cmdyes 
  25.       Caption         =   "Yes"
  26.       Height          =   375
  27.       Left            =   360
  28.       TabIndex        =   0
  29.       Top             =   600
  30.       Width           =   1215
  31.    End
  32.    Begin VB.Label Label1 
  33.       BackColor       =   &H80000012&
  34.       Caption         =   "Are You Sure You Want To Exit This session Of                           ""SMF DoorWays""?"
  35.       ForeColor       =   &H000000FF&
  36.       Height          =   375
  37.       Left            =   360
  38.       TabIndex        =   2
  39.       Top             =   0
  40.       Width           =   3495
  41.    End
  42. Attribute VB_Name = "frmExitDoorWay"
  43. Attribute VB_GlobalNameSpace = False
  44. Attribute VB_Creatable = False
  45. Attribute VB_PredeclaredId = True
  46. Attribute VB_Exposed = False
  47. Private Sub cmdNo_Click()
  48. Unload frmExitDoorWay
  49. End Sub
  50. Private Sub cmdyes_Click()
  51.     frmExitDoorWay.Caption = "Now Exiting DoorWays"
  52.         Unload frmExitDoorWay
  53.         Unload frmDoorToTheNet
  54. End Sub
  55. Private Sub Form_Unload(Cancel As Integer)
  56.    num = 1
  57. Width = 4500
  58.     For i = 0 To Me.Height
  59.        Me.Height = Me.Height - num
  60.        DoEvents
  61.     Next i
  62.        For i = 0 To 1900
  63.            Me.Width = Me.Width - num
  64.            DoEvents
  65.        Next i
  66.            For i = 0 To 1000
  67.                Me.Left = Me.Left + num
  68.                num = num + 1
  69.                DoEvents
  70.            Next i
  71.                'Sorry last time I forgot the DoEvents, IM VERY SORRY. Thanks to
  72.              
  73. End Sub
  74.